package com.example.mapper;

import com.example.pojo.Goods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@Repository
public interface GoodsMapper extends Mapper<Goods> {
    Goods findGoodById(@Param("gid") int gid);

    Goods selectGoodsByName(@Param("name")String name);
}
